package study.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

@Controller
public class QuickController {

    @RequestMapping("/quick")
    @ResponseBody
    public String quick(HttpServletRequest request){
        String path = request.getContextPath();
        return "hello myBlog" + path;
    }
}
